# Contributor: André Klitzing <aklitzing@gmail.com>
# Maintainer: André Klitzing <aklitzing@gmail.com>
pkgname=py3-pyutilib
_pkgname=PyUtilib
pkgver=5.7.2
pkgrel=5
pkgdesc="A collection of Python utilities"
url="https://pypi.org/project/PyUtilib/"
arch="noarch"
license="BSD-3-Clause"
depends="py3-nose py3-six"
makedepends="py3-setuptools"
subpackages="$pkgname-pyc"
source="https://files.pythonhosted.org/packages/source/p/pyutilib/$_pkgname-$pkgver.tar.gz"
options="!check" # no upstream tests
builddir="$srcdir/$_pkgname-$pkgver"

replaces=py-pyutilib # Backwards compatibility
provides=py-pyutilib=$pkgver-r$pkgrel # Backwards compatibility

build() {
	python3 setup.py build
}

package() {
	python3 setup.py install --skip-build --root="$pkgdir"
}

sha512sums="2de68e4bd7bf84e0a0217ee192277967cdcc01207a97ca0c70ec970349afd4790e83b949a21f77d7b68b5999bd6f2235f705730e70f9b96e1d761c57b09dfdb6  PyUtilib-5.7.2.tar.gz"
